package cn.cdu.medical.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Schema(description = "处方明细返回对象")
public class PrescriptionDetailVO {

    @Schema(description = "明细ID")
    private String id;

    @Schema(description = "处方ID")
    private String prescriptionId;

    @Schema(description = "药品ID")
    private String medicineId;

    @Schema(description = "药品名称")
    private String medicineName;

    @Schema(description = "规格")
    private String specification;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "数量")
    private BigDecimal amount;

    @Schema(description = "用法")
    private String usageMethod;

    @Schema(description = "频次")
    private String frequency;

    @Schema(description = "用药天数")
    private Integer days;

    @Schema(description = "单次剂量")
    private BigDecimal singleDose;

    @Schema(description = "总剂量")
    private BigDecimal totalDose;

    @Schema(description = "备注")
    private String notes;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "更新人")
    private String updateBy;

    @Schema(description = "删除标记")
    private Integer delFlag;
} 